package kr.hkit.powerjava.chapter07.test;

import java.util.Scanner;

public class Jogun2 {
	public static void main(String[] args) {

		Scanner in = new Scanner(System.in);
		System.out.print("대문자를 입력하시오 : ");

		String a = in.next();
		char ch = a.charAt(0);

		if (ch >= 'A' && ch <= 'Z') {
			System.out.printf("%c", ch - 'A' + 'a');
		} else {
			if (ch >= 'a' && ch <= 'z') {
				System.out.println(ch);
			} else {
				System.out.println("영문 대소문자만 입력하시오.");
			}

		}

	}
}